#include "junix.h"

int main(int argc, char **argv)
{
	fork();
	setsid();
	printf("pid:%d\n",getpid());
	printf("sid:%d\n",getsid(getpid()));
	printf("gid:%d\n",getpgid(getpid()));

	return 0;
}

